﻿
body {
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

article, aside, dialog, footer, header, section, footer, nav, figure, menu {
    display: block;
}

a:focus {
    outline: none;
}
.wrapper {
    margin: 0 auto;
    max-width: 960px;
    width: 92%;
}

.clear:after, .clear::after {
    content: '';
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}

.vertical {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.horizontal {
    text-align: center;
}

.copyright {
    bottom: 10px;
    font-size: 12px;
    left: 0;
    position: fixed;
    text-align: center;
    width: 100%;
    color: #fff;
    opacity: 0.4;
    z-index: 900;
}

    .copyright a {
        color: #fff;
        cursor: pointer;
        display: inline-block;
        text-decoration: none;
        margin-top: 5px;
        width: auto;
    }

/* ============================================================
Flex布局
============================================================ */
.flex-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

.flex-v {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.flex-1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.flex-align-center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.flex-pack-center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.flex-pack-justify {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* ============================================================
 弹出框
============================================================ */
.popup-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1000;
}

    .popup-wrapper .popup-bg {
        background-color: rgba(0,0,0,0.5);
        width: 100%;
        height: 100%;
    }

.popup-layout {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
}

    .popup-layout img {
        margin: 0 auto;
    }

    .popup-layout .btn-close {
        background: url('../img/icon_close.png') no-repeat left center;
        background-size: 24px 25px;
        cursor: pointer;
        display: block;
        width: 24px;
        height: 25px;
        position: absolute;
        right: -6px;
        top: -5px;
    }

.disableClick {
    pointer-events: none;
}

.blur {
    filter: url(blur.svg#blur); /* FireFox, Chrome, Opera */
    -webkit-filter: blur(3px); /* Chrome, Opera */
    -moz-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=3, MakeShadow=false); /* IE6~IE9 */
}

/*Animation*/

@keyframes move-twink-back {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -10000px 5000px;
    }
}

@-webkit-keyframes move-twink-back {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -10000px 5000px;
    }
}

@-moz-keyframes move-twink-back {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -10000px 5000px;
    }
}

@keyframes rotate-clockwise {
    from {
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes rotate-clockwise {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes rotate-clockwise {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes rotate-anticlockwise {
    from {
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(-360deg);
        -o-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@-moz-keyframes rotate-anticlockwise {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(-360deg);
    }
}

@-webkit-keyframes rotate-anticlockwise {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(-360deg);
    }
}

@keyframes rotateX {
    0% {
        -ms-transform: perspective(350px) rotateX(0deg);
        -o-transform: perspective(350px) rotateX(0deg);
        transform: perspective(350px) rotateX(0deg);
    }

    100% {
        -ms-transform: perspective(350px) rotateX(360deg);
        -o-transform: perspective(350px) rotateX(360deg);
        transform: perspective(350px) rotateX(360deg);
    }
}

@-moz-keyframes rotateX {
    from {
        -moz-transform: perspective(350px) rotateX(0deg);
    }

    to {
        -moz-transform: perspective(350px) rotateX(360deg);
    }
}

@-webkit-keyframes rotateX {
    from {
        -webkit-transform: perspective(350px) rotateX(0deg);
    }

    to {
        -webkit-transform: perspective(350px) rotateX(360deg);
    }
}

@keyframes rotateY {
    0% {
        -ms-transform: perspective(350px) rotateY(0deg);
        -o-transform: perspective(350px) rotateY(0deg);
        transform: perspective(350px) rotateY(0deg);
    }

    100% {
        -ms-transform: perspective(350px) rotateY(360deg);
        -o-transform: perspective(350px) rotateY(360deg);
        transform: perspective(350px) rotateY(360deg);
    }
}

@-moz-keyframes rotateY {
    from {
        -moz-transform: perspective(350px) rotateY(0deg);
    }

    to {
        -moz-transform: perspective(350px) rotateY(360deg);
    }
}

@-webkit-keyframes rotateY {
    from {
        -webkit-transform: perspective(350px) rotateY(0deg);
    }

    to {
        -webkit-transform: perspective(350px) rotateY(360deg);
    }
}

@keyframes textRoll {
    from {
        -ms-transform: translateY(20%);
        -o-transform: translateY(20%);
        transform: translateY(20%);
    }

    to {
        -ms-transform: translateY(-100%);
        -o-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}

@-moz-keyframes textRoll {
    from {
        -moz-transform: translateY(20%);
    }

    to {
        -moz-transform: translateY(-100%);
    }
}

@-webkit-keyframes textRoll {
    from {
        -webkit-transform: translateY(20%);
    }

    to {
        -webkit-transform: translateY(-100%);
    }
}
